package com.rescue.forum.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("管理员端根据文章Id查询评论的数据")
public class CommentQueryVO {
    @ApiModelProperty("评论ID")
    private Integer commentId;
    private Integer pCommentId;
    private String articleId;
    private String content;
    private String imgPath;
    private Integer userId;
    private String nickName;
    private String avatar;
    private String userIpAddress;
    private Integer replyUserId;
    private String replyNickName;
    private Integer topType;
    private LocalDateTime postTime;
    private Integer goodCount;
    private Integer status;
    private Integer likeType;//登录用户是否已经点赞 0未点赞 1:已点赞
    private List<CommentQueryVO> children;
}
